package com.vhdadw.service;

import com.vhdadw.controller.request.AccountLoginRequest;
import com.vhdadw.controller.request.AccountRegisterRequest;
import com.vhdadw.utils.JsonData;

public interface AccountService {
    /**
     * 注册
     * @param registerRequest
     * @return
     */
    JsonData register(AccountRegisterRequest registerRequest);

    /**
     * 登陆
     * @param request
     * @return
     */
    JsonData login(AccountLoginRequest request);
}
